<div>

    <div class="ibox ">
        <div class="ibox-title">
            <h5>
                <vc:i18n name="查询条件" namespace="systemUser"></vc:i18n>
            </h5>
            <div class="ibox-tools" style="top:10px;"></div>
        </div>
        <div class="ibox-content">
            <div class="row">
                <div class="col-sm-2">
                    <div class="form-group">
                        <select class="custom-select" v-model.trim="systemUserInfo.conditions.levelCd">
                            <option selected value="">请选择人员角色</option>
                            <option value="01">员工</option>
                            <option value="02">用户</option>
                        </select>
                    </div>
                </div>
                <div class="col-sm-2">
                    <div class="form-group ">
                        <input type="text" :placeholder="vc.i18n('请输入用户名称','systemUser')"
                            v-model="systemUserInfo.conditions.nameLike" class=" form-control ">
                    </div>
                </div>
                <div class="col-sm-2">
                    <div class="form-group ">
                        <input type="text" :placeholder="vc.i18n('请输入手机号','systemUser')"
                            v-model="systemUserInfo.conditions.tel" class=" form-control ">
                    </div>
                </div>
                <div class="col-sm-2">
                    <button type="button" class="btn btn-primary btn-sm" v-on:click="_querySystemUserMethod()">
                        <vc:i18n name="查询" namespace="systemUser"></vc:i18n>
                    </button>
                </div>
            </div>
        </div>

    </div>

    <div class="ibox">
        <div class="ibox-title">
            <h5>
                <vc:i18n name="物业用户" namespace="systemUser"></vc:i18n>
            </h5>
            <div class="ibox-tools" style="top:10px;">

            </div>
        </div>
        <div class="ibox-content">
            <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                <thead>
                    <tr>
                        <th class="text-center">
                            <vc:i18n name="用户编号" namespace="systemUser"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="用户名称" namespace="systemUser"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="手机号" namespace="systemUser"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="email" namespace="systemUser"></vc:i18n>
                        </th>
                        <th width="25%" class="text-center">
                            <vc:i18n name="地址" namespace="systemUser"></vc:i18n>
                        </th>

                        <th class="text-center">
                            <vc:i18n name="创建时间" namespace="systemUser"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="角色" namespace="systemUser"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="认证数" namespace="systemUser"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="操作" namespace="systemUser"></vc:i18n>
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <tr v-for="user in systemUserInfo.users">
                        <td class="text-center">{{user.userId}}</td>
                        <td class="text-center">{{user.userName}}</td>
                        <td class="text-center">{{user.tel}}</td>
                        <td class="text-center">{{user.email || '-'}}</td>
                        <td class="text-center">{{user.address}}</td>
                        <td class="text-center">{{user.createTime}}</td>
                        <td class="text-center" >
                            <span v-if="user.levelCd == '00'">管理员</span>
                            <span v-if="user.levelCd == '01'">员工</span>
                            <span v-if="user.levelCd == '02'">用户</span>
                        </td>
                        <td class="text-center">{{user.ownerCount}}</td>
                        <td class="text-center">
                            <div class="btn-group">
                                <button class="btn-white btn btn-xs" v-on:click="_openDeleteSystemUserModel(user)">
                                    <vc:i18n name="删除" namespace="systemUser"></vc:i18n>
                                </button>
                            </div>
                            <div class="btn-group">
                                <button class="btn-white btn btn-xs" v-on:click="_openResetSystemUserPwdModel(user)">
                                    <vc:i18n name="重置密码" namespace="systemUser"></vc:i18n>
                                </button>
                            </div>
                            <div class="btn-group">
                                <button class="btn-white btn btn-xs" v-on:click="_toUserDetailPage(user)">
                                    <vc:i18n name="详情" namespace="systemUser"></vc:i18n>
                                </button>
                            </div>
                        </td>
                    </tr>
                </tbody>
            </table>
            <!-- 分页 -->
            <vc:create path="frame/pagination"></vc:create>
        </div>

    </div>
    <vc:create path="staff/deleteSystemUser"></vc:create>
    <vc:create path="staff/resetSystemUserPwd"></vc:create>
    
</div>